package com.example.demo.service.impl;

import com.example.demo.entity.Test1;
import com.example.demo.mapper.updateMapper;
import com.example.demo.service.updateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class updateServiceImpl  implements updateService {
    @Autowired
    updateMapper updatemapper;

    public int update(Test1 test) {
        return updatemapper.update(test);
    }

    public int add(Test1 test) {
        return updatemapper.add(test);
    }

    public int del(Test1 test) {
        return updatemapper.del(test);
    }

}
